package com.project.Bean;

import java.time.LocalDate;

/***
 * 班级管理实体类
 */
public class ClassRoom {
    /**班级管理编号*/
    private int id;
    /**班级名称*/
    private String name;
    /**开班时间*/
    private LocalDate date;
    /**带班老师*/
    private String teacher;

    public ClassRoom() {
    }

    public ClassRoom(String name, LocalDate date, String teacher) {
        this.name = name;
        this.date = date;
        this.teacher = teacher;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public LocalDate getDate() {
        return date;
    }

    public void setDate(LocalDate date) {
        this.date = date;
    }

    public String getTeacher() {
        return teacher;
    }

    public void setTeacher(String teacher) {
        this.teacher = teacher;
    }

    @Override
    public String toString() {
        return name;
    }
}
